/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bookstore.bean;

import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author Caleido
 */
@XmlRootElement(name="OrderList")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
public class OrderListBean {
    @XmlElement()
    private List<OrderBean> orders;

    public OrderListBean(List<OrderBean> orders) {
        this.orders = orders;
    }

    public OrderListBean() {
    }

    public List<OrderBean> getOrders() {
        return orders;
    }

    public void setOrders(List<OrderBean> orders) {
        this.orders = orders;
    }
    
}
